#include <func.h>
#include "userTask.h"
#ifndef __THREADPOOL__
#define __THREADPOLL__
typedef struct threadPool_s{
    pthread_t *tidArr;
    int threadNum;
    //taskQueue_t taskQueue;
    userQueue_t userQueue;
    pthread_mutex_t mutex;
    pthread_cond_t cond;
    int isThreadPoolRunning;
} threadPool_t;
int threadPoolInit(threadPool_t *pThreadPool, int workerNum);
#endif